package com.sykj.util.reponse;

import lombok.Getter;

/**
 * @program: BeautyClub
 * @description: 响应状态码枚举
 * @author: qiaoli
 * @create: 2020-07-15 09:10
 */
@Getter
public enum CodeEnum {
    SUCCESS(0, "成功"),
    FAIL(1, "失败"),
    ;

    private final Integer code;

    private final String msg;

    CodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
